﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using snat.model;
using snat.algorithms;

namespace algorithms.algorithms.Agent
{
    public class AgentAlgorithm : IAlgorithm {
        public string Name {
            get { return "Agent algorithm"; }
        }

        public void Go() {
            //This is the main method for your algorithm, this will be called once NetworkModel.Instance.Init(new AgentNodeFactory(..)) has been called
        }

        public void Register() {
            NetworkModel.Instance.TapeLoaded += Go;
        }

        public void DeRegister() {
            throw new NotImplementedException();
        }
    }
}
